package org.example.spring.service;

import org.example.spring.domain.dto.FlowerDTO;
import org.example.spring.domain.pojo.Result;
import org.example.spring.domain.pojo.Flower;

import java.util.ArrayList;

public interface FlowerService {


    ArrayList<Flower> getAllFlower();

    ArrayList<Flower> getPageFlower(FlowerDTO flowerPageDTO);

    void deleteFlowerById(int id);

    void updateFlower(Flower flower);

    void addFlower(Flower flower);

    Result<ArrayList<String>> getFlowerImageBanner();


    Result<ArrayList<Flower>> getHotFlower();

    Result<ArrayList<Flower>> getNewFlower();

    Flower getFlowerById(Integer id);

    int getTotalFlower(FlowerDTO flowerPageDTO);
}
